
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <link rel="stylesheet" type="text/css" href="{%$_AE_ADMIN_STATIC_BASE_URL%}/css/bootstrap.min.css">
    <style>
        html,body,.row{
            width: 100%;
        }
        .containO{
            width: 110%;
        }
        .container{
            width: 100%;
        }
        .page-header,.page-body{
            width: 100%;
        }
        #myForm{
            width: 90%;
            margin-left: 5%;
            position: relative;
            top: -10px;
            height: 100px;
        }
        .table-bordered td,.table-bordered th{
            text-align: center;
        }
        #history{
           position: absolute;
            top: 210px;
            width: 100%;
        }
    </style>
    <div class="containO">
        <div id="history">
            <div>
                {%if $info%}
                    {%foreach from=$info item=i%}
                        <div>
                            <div class='panel panel-success' style="width: 90%;margin-left: 5%;height: 5%;">
                                <div class='panel-body'>
                                    <h5>{%$i.advice_content%}</h5>
                                    <p class='text-muted' style='float: right;'>
                                    <em style='font-size: 13px'>{%$i.createtime%}</em></p>
                                </div>
                            </div>
                        </div>
                    {%/foreach%}
                {%else%}
                <center><p class="alert alert-error" style="width: 90%;">
                    (⊙o⊙)…，你的应用{%$app.app_name%}暂时还没有内容，等待以后上传啦!
                </p></center>
                {%/if%}
            </div>
        </div>
        <div style="height: 20%;">
        </div>
            <form id="myForm"  method="POST" action="{%appurl controller=default action=create%}">
                <div  style="margin-bottom:0px;">
                    <center>
                        <div>
                            <div style="width: auto;margin-left: 23%;float: left" onclick="goBack()">
                                <img src="{%$_AE_ADMIN_STATIC_BASE_URL%}/img/home.png" style="margin-top: 30%;">
                            </div>
                            <h4 style="margin-left: 1%;float: left;font-size: 24px;">{%$app.app_name%}</h4>
                        </div>
                    </center>
                </div>
                <textarea  class="chatInput" placeholder="请输入您的宝贵意见,字数限制在200字以内" maxlength="200" name="content" style="height: 90%;width: 100%;margin-top: 10px;"></textarea>
                <input type="hidden"  name="mac" value={%$mac%}>
                <button class="btn btn-success" type="submit"  style="width:100%">提交</button>
            </form>
    </div>
    <script type="text/javascript">
        function goBack(){
            var temp = window.location.href;
            if(temp.indexOf('show')<0)//不包含show
                history.go(-3);
            else
                history.go(-2);
        }
    </script>
